<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<script type="text/javascript">
	var data = {"resultCode":${resultCode}, "errorMessage":'${errorMessage}'};
	//如果有设置id值，添加到回调数据对象中
	<c:if test="${!empty id}">
		data['id'] = '${id}';
	</c:if>
	window.parent.refreshParent(data);
</script>